﻿<?php
return [
    'id'=>'classlesson-form',
    'template'=>'form_default',
    'enableClientValidation'=>false,
    'enableAjaxValidation'=>false,
    'options'=>['class'=>'form-validate'],
    'models'=>[
        'classmanage'=>[
            'title'=>'修改状态',
            'th_with'=>80,
            'elements'=>[
                'status'=>[
                    'type'=>'widget',
                    'class'=> \kartik\select2\Select2::className(),
                    'data' => [
                        '5'=>'教师请假',
                        '6'=>'停课',
                        '7'=>'调课',
                    ],
                    'options' => ['placeholder' => '请选择...'],
                ],
                'remark'=>[
                    'type'=>'textarea',
                    'options'=>['class'=>'input-textarea']
                ],
                'is_delay'=>[
                    'type'=>'radiolist',
                    'items'=>[
                        '0'=>'否',
                        '1'=>'是']
                ],
            ],
        ]
    ]
];


